SRC=concurrent_malloc.cpp simple_malloc.cpp
all:$(SRC)
	@printf "\033[34;1m\nCompilation de cas test multithread.\n\033[m"
	g++ -o threads_test concurrent_malloc.cpp -lpthread -rdynamic
	@printf "\033[34;1m\nCompilation de cas test simple.\n\033[m"
	g++ -o simple_test simple_malloc.cpp -rdynamic

clean:
	@printf "\033[34;1m\nNettoyage du repertoire.\n\033[m"
	rm -rf *~ *.bsf
